5.3
MEDIUM CVSS 3.1
CVE-2026-32630
file-type affected by ZIP Decompression Bomb DoS via [Content_Types].xml entry
Description

file-type detects the file type of a file, stream, or data. From 20.0.0 to 21.3.1, a crafted ZIP file can trigger excessive memory growth during type detection in file-type when using fileTypeFromBuffer(), fileTypeFromBlob(), or fileTypeFromFile(). The ZIP inflate output limit is enforced for stream-based detection, but not for known-size inputs. As a result, a small compressed ZIP can cause file-type to inflate and process a much larger payload while probing ZIP-based formats such as OOXML. This vulnerability is fixed in 21.3.2.

INFO

Published Date :

March 16, 2026, 2:19 p.m.

Last Modified :

March 17, 2026, 7:05 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-32630 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Sindresorhus file-type
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM MITRE-CVE
CVSS 3.1 MEDIUM [email protected]
Solution
Update file-type to version 21.3.2 to fix excessive memory growth vulnerability.
  • Update file-type to version 21.3.2.
  • Verify memory usage after update.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-32630.

URL Resource
https://github.com/sindresorhus/file-type/commit/399b0f156063f5aeb1c124a7fd61028f3ea7c124 Patch
https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v Exploit Vendor Advisory
https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v Exploit Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-32630 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-32630 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-32630 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-32630 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 17, 2026

    Action Type Old Value New Value
    Added CPE Configuration OR *cpe:2.3:a:sindresorhus:file-type:*:*:*:*:*:node.js:*:* versions from (including) 20.0.0 up to (excluding) 21.3.2
    Added Reference Type GitHub, Inc.: https://github.com/sindresorhus/file-type/commit/399b0f156063f5aeb1c124a7fd61028f3ea7c124 Types: Patch
    Added Reference Type GitHub, Inc.: https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v Types: Exploit, Vendor Advisory
    Added Reference Type CISA-ADP: https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v Types: Exploit, Vendor Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Mar. 16, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v
  • New CVE Received by [email protected]

    Mar. 16, 2026

    Action Type Old Value New Value
    Added Description file-type detects the file type of a file, stream, or data. From 20.0.0 to 21.3.1, a crafted ZIP file can trigger excessive memory growth during type detection in file-type when using fileTypeFromBuffer(), fileTypeFromBlob(), or fileTypeFromFile(). The ZIP inflate output limit is enforced for stream-based detection, but not for known-size inputs. As a result, a small compressed ZIP can cause file-type to inflate and process a much larger payload while probing ZIP-based formats such as OOXML. This vulnerability is fixed in 21.3.2.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
    Added CWE CWE-409
    Added Reference https://github.com/sindresorhus/file-type/commit/399b0f156063f5aeb1c124a7fd61028f3ea7c124
    Added Reference https://github.com/sindresorhus/file-type/security/advisories/GHSA-j47w-4g3g-c36v
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.